import { Alignment } from "element-plus/es/components/table-v2/src/constants"

export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: false,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  column: [
    {
      label: "序号",
      align:'center',
      width:60,
      prop: "index",
      type: "input",     
    },
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    //   hide: true,
    },
    {
      label: "租户ID",
      prop: "tenantId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "课节名称",
      prop: "lessonName",
      type: "input",
    },
    {
      label: "时22间",
      prop: "startTime",
      format: 'YYYY-MM-DD HH:mm', 
      type: 'date',
    },
    {
      label: "老师",
      prop: "teacherNames",
      type: "input",
    },

    {
      label: "教室",
      prop: "roomName",
      type: "input",
    },

    {
      label: "学员数量",
      prop: "studentCount",
      type: "input",
    },

    {
      label: "签到数量",
      prop: "signCount",
      type: "input",
    },

    {
      label: "每节课时数",
      prop: "classHour",
      type: "number",
      hide: false
    },
    {
      label: "预约状态",
      prop: "appointmentStatus",
      type: "input",
    },
    {
      label: "创建人",
      prop: "createUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建部门",
      prop: "createDept",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "创建时间",
      prop: "createTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改人",
      prop: "updateUser",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "修改时间",
      prop: "updateTime",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "状态",
      prop: "status",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
  ]
}
